#include<stdio.h>
int main()
{
    int year=0;
    printf("please enter a year:");
    scanf("%d",&year);
    if (year%400==0 || (year%4==0 && year %100 !=0))
    printf("%d is leap year!",year);
    else 
    printf("It is not a leap year");
    return 0;
}